Skip to content

Conversation

@adincebic
Copy link
Contributor

Addresses #1511

@adincebic
Copy link
Contributor Author

@brentleyjones I updated the PR. I left swiftc_inputs in RunEnvironmentInfo since we probably want to be able to reference swiftc_inputs?

RunEnvironmentInfo(
            environment = expand_locations(
                ctx,
                ctx.attr.env,
                ctx.attr.swiftc_inputs + ctx.attr.additional_linker_inputs,
            ),

Copy link
Collaborator

@brentleyjones brentleyjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is technically a breaking change, in a way that could be hard to fix in non-root modules, it doesn't look like any public modules was using swiftc_inputs for linker inputs. So I'm fine with this if @keith is.

@keith
Copy link
Member

keith commented Oct 15, 2025

sure, i like naming matching other rules

@adincebic adincebic force-pushed the adin/implement-additiona_linker_inputs-attr branch from 064b690 to 6f43932 Compare October 17, 2025 20:45
@adincebic adincebic enabled auto-merge (squash) October 25, 2025 11:47
@adincebic adincebic force-pushed the adin/implement-additiona_linker_inputs-attr branch from 6f43932 to 5d72c88 Compare November 11, 2025 11:04
@adincebic adincebic disabled auto-merge November 11, 2025 11:06
@adincebic adincebic merged commit 0e0e4ab into bazelbuild:master Nov 11, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants